home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / ctlhtmlc / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-07  |  3.5 KB  |  112 lines

  1. /*---------------------------------------------------------------------------*\
  2.  | MainFrm.h    - CtlHTML(tm) Control Library Test Program                   |
  3.  |                Windmill Point Software, Alburg, VT 05440                  |
  4.  |                Copyright (c) 1999, Windmill Point Software                |
  5.  |                All Rights Reserved.                                       |
  6. \*---------------------------------------------------------------------------*/
  7.  
  8. #if !defined(AFX_MAINFRM_H__EB1EC7CA_02DC_11D3_8171_40F255C10000__INCLUDED_)
  9. #define AFX_MAINFRM_H__EB1EC7CA_02DC_11D3_8171_40F255C10000__INCLUDED_
  10.  
  11. #if _MSC_VER > 1000
  12. #pragma once
  13. #endif // _MSC_VER > 1000
  14.  
  15. class CMainFrame : public CFrameWnd
  16. {
  17. protected: // create from serialization only
  18.     CMainFrame();
  19.     DECLARE_DYNCREATE(CMainFrame)
  20.  
  21. // Attributes
  22. public:
  23.  
  24. // Operations
  25. public:
  26.  
  27. // Overrides
  28.     // ClassWizard generated virtual function overrides
  29.     //{{AFX_VIRTUAL(CMainFrame)
  30.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  31.     //}}AFX_VIRTUAL
  32.  
  33. // Implementation
  34. public:
  35.     virtual ~CMainFrame();
  36. #ifdef _DEBUG
  37.     virtual void AssertValid() const;
  38.     virtual void Dump(CDumpContext& dc) const;
  39. #endif
  40.  
  41. protected:  // control bar embedded members
  42.     CStatusBar  m_wndStatusBar;
  43.  
  44.    CMcMRUList  m_MessageTitleMRU;
  45.    CMcMRUList  m_MessageMessageMRU;
  46.    CMcMRUList  m_MessageFutureMRU;
  47.    CString     m_MessageTitleText;
  48.    CString     m_MessageMessageText;
  49.    CString     m_MessageFuture;
  50.    int         m_MessageStandardButtons;
  51.    int         m_MessageDefaultButton;
  52.    int         m_MessageResourceIcon;
  53.    int         m_MessageStandardIcon;
  54.    int         m_MessageTimeout;
  55.    int         m_MessageHelpID;
  56.  
  57.    CMcMRUList  m_DetailsTitleMRU;
  58.    CMcMRUList  m_DetailsMessageMRU;
  59.    CMcMRUList  m_DetailsDetailsMRU;
  60.    CMcMRUList  m_DetailsFutureMRU;
  61.    CString     m_DetailsTitleText;
  62.    CString     m_DetailsDetailText;
  63.    CString     m_DetailsMessageText;
  64.    CString     m_DetailsFuture;
  65.    int         m_DetailsStandardButtons;
  66.    int         m_DetailsDefaultButton;
  67.    int         m_DetailsResourceIcon;
  68.    int         m_DetailsStandardIcon;
  69.    int         m_DetailsTimeout;
  70.    int         m_DetailsHelpID;
  71.  
  72.    CMcMRUList  m_FlashTitleMRU;
  73.    CMcMRUList  m_FlashMessageMRU;
  74.    CMcMRUList  m_FlashFutureMRU;
  75.    CString     m_FlashTitleText;
  76.    CString     m_FlashMessageText;
  77.    CString     m_FlashFuture;
  78.    int         m_FlashResourceIcon;
  79.    int         m_FlashStandardIcon;
  80.    int         m_FlashTimeout;
  81.    int         m_FlashHelpID;
  82.  
  83.    CString     m_Typeface;
  84.    UINT        m_FontSize;
  85.    BOOL        m_CenterButtons;
  86.    BOOL        m_DitherGraphics;
  87.    BOOL        m_UseDisabled3D;
  88.    CString     m_HelpPath;
  89.  
  90. // Generated message map functions
  91. protected:
  92.     //{{AFX_MSG(CMainFrame)
  93.     afx_msg int  OnCreate(LPCREATESTRUCT lpCreateStruct);
  94.     afx_msg void OnClose();
  95.     afx_msg void OnMessageBox();
  96.     afx_msg void OnOptions();
  97.    afx_msg void OnActivate( UINT nState, CWnd* pWndOther, BOOL bMinimized );
  98.     afx_msg void OnControls();
  99.     afx_msg void OnModelessExample();
  100.     //}}AFX_MSG
  101.    afx_msg void OnSysColorChange ();
  102.    afx_msg void OnFontChange ();
  103.     DECLARE_MESSAGE_MAP()
  104. };
  105.  
  106. /////////////////////////////////////////////////////////////////////////////
  107.  
  108. // {{AFX_INSERT_LOCATION}}
  109. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  110.  
  111. #endif // !defined(AFX_MAINFRM_H__EB1EC7CA_02DC_11D3_8171_40F255C10000__INCLUDED_)
  112.